ARCH=-m64

CC = gcc

CFLAGS = -O3 $(ARCH)

#folder containing the headers
INCLUDES = -I../../include

# define library paths in addition to /usr/lib
#   if I wanted to include libraries not in /usr/lib I'd specify
#   their path using -Lpath, something like:
#LFLAGS = -L/home/cinus/c-workspace/jjann
LFLAGS = -L$(shell pwd)/../..
#Libraries to includes
LIBS = -l:libjjann$(ARCH).a -lm -lconfig


all : iris

iris :
	$(CC) $(CFLAGS) $(LFLAGS) $(INCLUDES) iris.c $(LIBS) -o iris
	chmod a+x iris
	#mkdir -p ./bin/
	#mv iris ./bin/

clean:
	rm ./iris	
